# -*- coding: utf-8 -*-
from feapder.db.mysqldb import MysqlDB


class UpStatus(MysqlDB):
    def update_status(self, _id):
        sql = f"UPDATE addgenelistpageinfo SET `status`=1 WHERE id = '{_id}';"
        self.update(sql)

# if __name__ == '__main__':
#     _id = "03ee64702b1f06e5c3600f87a649c6da"
#     us = UpdateStatus()
#     us.update_status(_id)
